package control;

import model.Hotel;

public class LoginControl  {
	Hotel hotel = new Hotel();

	public LoginControl() {
		hotel.connect();
	}

	public boolean login(String username, String pass) {
		hotel.employeeLogin(username, pass);
		return true;
	}

	public Hotel getHotel() {
		return hotel;
	}

	public void setHotel(Hotel hotel) {
		this.hotel = hotel;
	}

}
